home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Games
/
NeXTmille
/
Source
/
DrawPileStackView.h
< prev
next >
Wrap
Text File
|
1990-12-08
|
930b
|
37 lines
/* Generated by Interface Builder */
#import "StackView.h"
#import "CardView.h"
#import <appkit/FormCell.h>
// This object is the draw pile.
// In addition to being a stack view this subclass also tracks and
// displays the number of cards in the pile.
@interface DrawPileStackView:StackView
{
// All of the objects listed below are set by the .nib
// dearchiving method.
FormCell *cardCountFormCell;
}
// These methods set the outlets for instances of this
// class.
- setCardCountFormCell:( FormCell * )anObject;
// These methods override the superclass method
// such that the number of cards in the draw
// pile can be tracked in a form.
- addCard:( CardView * )aCard :sender;
- removeCard:( CardView * )aCard :sender;
// Return the number of cards remaining
// in the pile.
- ( int )cardsInPile;
@end